<?php

// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

namespace think;
$root = dirname($_SERVER['SCRIPT_NAME']);
if($root == '\\'){
	$root = str_replace('\\', '/',$root);
}else{
	$root = $root;
};

// 定义应用目录
define('__ROOT__',$root);
define('APP_PATH', __DIR__ . '/app/');
require __DIR__ . '/thinkphp/base.php';



